body {
    background-image: url("../img/6739.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    margin: 0;
}

.overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5); /* 遮罩层颜色 */
    height: 100%;
    width: 100%;
}

.container {
    width: 1024px;
    height: 640px;
    border-radius: 20px; /* 圆角 */
    background-color: rgba(255, 255, 255, 0.6);
}

.blur {
    backdrop-filter: blur(10px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.left-panel {
    width: 320px;
    background-color: #fff0f066;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.left-overlay {
    position: absolute;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* 遮罩层颜色 */
    height: 100%;
    width: 100%;
    z-index: 1;
    display: none;
}

.left-title {
    width: 100%;
    height: 90px;
    border-bottom: 1px solid #a5a5a5ed;
}

.head-img{
    width: 64px;
    height: 64px;
    background-image: url("../img/head.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    margin-top: 13px;
    margin-left: 24px;
}

.user-ip{
    margin-left: 96px;
    margin-top: -42px;
    font-size: 18px;
    font-family: "Microsoft YaHei UI";
    font-weight: 800;
}

.user-info{
    margin-left: 96px;
    margin-top: 3px;
    font-size: 12px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
}

.left-chatList {
    width: 100%;
    height: 488px;
    border-bottom: 1px solid #a5a5a5ed;
}

.item-box {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    padding-top: 22px;
    overflow: auto;
    max-height: 466px;
}

.chat-item-main {
    position: relative;
    width: 265px;
    height: 82px;
    margin-left: 24px;
    margin-bottom: 12px;
    border-radius: 10px;
    background-color: #ffffff7d;
    cursor: pointer;
}

.chat-item {
    position: relative;
    width: 265px;
    height: 82px;
    margin-left: 24px;
    margin-bottom: 12px;
    border-radius: 10px;
    background-color: #ffffff7d;
    cursor: pointer;
}

.chat-selected{
    box-shadow: 0 0 10px rgb(0 0 0 / 43%);
}

.chat-del{
    visibility: hidden;
    position: absolute;
    width: 28px;
    height: 28px;
    margin-left: 247px;
    margin-top: -10px;
    background-image: url(../img/del.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
}

.chat-title{
    width: 233px;
    margin-left: 16px;
    margin-top: 16px;
    font-size: 17px;
    font-family: "Microsoft YaHei UI";
    font-weight: 800;
}

.chat-bottom{
    width: 248px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 17px;
}

.chat-time {
    margin-left: 16px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Microsoft YaHei UI";
}

.chat-num{
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Microsoft YaHei UI";
}

.left-addChat {
    width: 100%;
    height: 60px;
}

.contact {
    height: 32px;
    width: 118px;
    margin-left: 24px;
    margin-top: 13px;
    background-color: #ffffffb3;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    border: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-text{
    margin-left: 20px;
}

.btn-img{
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin-top: -18px;
    margin-left: 5px;
}

.cantact-img{
    background-image: url("../img/Contact.png");
}

.new-chat-img{
    background-image: url("../img/add-chat.png");
}

.new-chat{
    position: absolute;
    height: 32px;
    width: 100px;
    margin-left: 52px;
    margin-top: 13px;
    background-color: #ffffffb3;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    border: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}

.right-panel {
    width: 704px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    visibility: hidden;
}

.right-title {
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 25px;
    font-weight: bold;
    font-family: "Microsoft YaHei UI";
    text-align: center;
    /*border-bottom: 1px solid #a5a5a5ed;*/
}

.right-chatRoom {
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
}

.bubble{
    position: relative;
    margin-left: 24px;
    margin-right: 24px;
    padding: 8px 16px;
}

.bubble-user-box {
    display: flex;
}

.bubble-user-box-right {
    display: flex;
    justify-content: flex-end;
}

.bubble-user{
    height: 21px;
    line-height: 21px;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
}

.bubble-info-box{
    display: flex;
    align-items: center;
}

.bubble-info-box-right{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bubble-loading {
    width: 25px;
    height: 25px;
    padding: 10px;
    /* 设置动画时长为 5 秒 */
    animation: rotation 1.5s linear infinite;
    /* 图片当前逆时针旋转 0 度 */
    transform: rotate(0deg);
}

@keyframes rotation {
    /* 图片当前逆时针旋转 0 度 */
    from { transform: rotate(0deg); }
    /* 图片逆时针旋转一周（360 度） */
    to { transform: rotate(360deg); }
}

.bubble-error {
    width: 25px;
    height: 25px;
    padding: 10px;
    cursor: pointer;
}

.bubble-info{
    background-color: #ffffffd6;
    border-radius: 10px;
    padding: 10px;
}

.bubble-info-file{
    padding: 2px;
}

.bubble-info-right{
    background-color: rgba(74, 224, 75, 0.84);
    border-radius: 10px;
    padding: 10px;
}

.bubble-info-right-file{;
    padding: 2px;
}

.bubble-text{
    max-width: 450px;
    line-height: 21px;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    white-space: pre-wrap;
    display: inline-block;
    word-wrap: break-word;
}

.bubble-image {
    max-width: 130px;
    max-height: 170px;
    border-radius: 10px;
    border: 1px solid #707070;
}

.bubble-file {
    display: flex;
    width: 250px;
    height: 80px;
    background-color: #ffffffd6;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.bubble-file-info {
    display: flex;
    flex-direction: column;
}

.bubble-file-name {
    width: 170px;
    /* height: 60px; */
    line-height: 20px;
    font-size: 16px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    flex-grow: 1;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    white-space: break-spaces;
}

.bubble-file-size {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    color: #6c6c6c;
}

.right-sendMessage {
    width: 100%;
}

.change-radio {
    width: 664px;
    height: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.radio-text {
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
}

.message-container {
    width: 664px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.message-input {
    align-items: center;
    background-color: #ffffffb3;
    border-radius: 12px;
    padding-top: 16px;
    padding-left: 24px;
    padding-bottom: 16px;
    width: 640px;
}

.text-input {
    width: 590px;
    height: 21px;
    line-height: 21px;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    border: none;
    background: none;
    outline: none;
    resize: none;
    padding: 0;
}

.file-input {
    width: 590px;
    height: 125px;
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    outline: none;
}

.file-item {
    position: relative;
    padding: 10px;
}

.file-del {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: 73px;
    margin-top: -8px;
    background-image: url(../img/del.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
}

.file-preview {
    width: 85px;
    height: 85px;
}

.file-name {
    height: 21px;
    line-height: 21px;
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    text-align: center;
    display: block;
    max-width: 86px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.send-img {
    width: 28px;
    height: 28px;
    background-image: url("../img/send.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 2px;
    cursor: pointer;
}

.model{
    z-index: 2;
    visibility: hidden;
    width: 400px;
    height: 255px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
}

.model-title {
    width: 400px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 17px;
    font-family: "Microsoft YaHei UI";
    font-weight: 800;
}

.model-content {
    width: 400px;
    height: 120px;
}

.model-input{
    width: 300px;
    height: 60px;
    border-radius: 12px;
    font-size: 18px;
    padding-left: 25px;
    padding-right: 25px;
    margin-left: 25px;
    margin-top: 19px;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    border: 1px solid;
}

.model-option {
    width: 400px;
    height: 50px;
}

.model-btn {
    width: 125px;
    height: 36px;
    margin-left: 50px;
    border-radius: 10px;
    font-size: 16px;
    border: none;
    font-family: "Microsoft YaHei UI";
    font-weight: 500;
    cursor: pointer;
}

.add{
    background: #5362ff;
}

.create{
    background: #15af28;
}

.show-img {
    visibility: hidden;
    max-width: 1500px;
    max-height: 900px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 3;
    border-radius: 10px;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  background-color: transparent;
}